package com.fire.communication.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fire.communication.common.base.BasisEntity;

/**
 * @Author: YangYu
 * @ClassName: CommunicationRecord
 * @Date: Created in 17:04 2022/5/5
 * @Description: 通讯记录
 */
@TableName("communication_record")
public class CommunicationRecord extends BasisEntity {

    /**
     * 主键
     */

    private String id;

    /**
     * 单位名称
     */
    private String businessName;

    /**
     * 电话
     */
    private String phone;

    /**
     * 设备号
     */
    private String number;

    /**
     * 联系人
     */
    private String contacts;

    /**
     * 推送方式
     */
    private Integer type;

    /**
     * 推送时间
     */
    private String time;

    /**
     * 单位id
     */
    private String businessId;

    /**
     * 状态 1发送中 2发送成功 3发送失败
     */
    private Integer state;

    public Integer getState() {
        return this.getInteger("state");
    }

    public void setState(Integer state) {
        this.put("state",state);
    }

    public String getBusinessId() {
        return this.getString("businessId");
    }

    public void setBusinessId(String businessId) {
        this.put("businessId",businessId);
    }

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getBusinessName() {
        return this.getString("businessName");
    }

    public void setBusinessName(String businessName) {
        this.put("businessName",businessName);
    }

    public String getPhone() {
        return this.getString("phone");
    }

    public void setPhone(String phone) {
        this.put("phone",phone);
    }

    public String getNumber() {
        return this.getString("number");
    }

    public void setNumber(String number) {
        this.put("number",number);
    }

    public String getContacts() {
        return this.getString("contacts");
    }

    public void setContacts(String contacts) {
        this.put("contacts",contacts);
    }

    public Integer getType() {
        return this.getInteger("type");
    }

    public void setType(Integer type) {
        this.put("type",type);
    }

    public String getTime() {
        return this.getString("time");
    }

    public void setTime(String time) {
        this.put("time",time);
    }
}
